package life.system.product.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import life.system.common.utils.PageUtils;
import life.system.common.utils.Query;

import life.system.product.dao.SkuInfoDescDao;
import life.system.product.entity.SkuInfoDescEntity;
import life.system.product.service.SkuInfoDescService;


@Service("skuInfoDescService")
public class SkuInfoDescServiceImpl extends ServiceImpl<SkuInfoDescDao, SkuInfoDescEntity> implements SkuInfoDescService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<SkuInfoDescEntity> page = this.page(
                new Query<SkuInfoDescEntity>().getPage(params),
                new QueryWrapper<SkuInfoDescEntity>()
        );

        return new PageUtils(page);
    }

}